-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make history playback work for "X It!" #2410
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2410 +/- ##
==========================================
- Coverage 86.29% 86.28% -0.02%
==========================================
Files 739 739
Lines 38018 38047 +29
Branches 9701 9717 +16
==========================================
+ Hits 32807 32827 +20
- Misses 4912 4921 +9
Partials 299 299
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
collaborative-learning Run #13815
Run Properties:
|
Project |
collaborative-learning
|
Branch Review |
188129121-history-bug-fixes
|
Run status |
Passed #13815
|
Run duration | 13m 49s |
Commit |
5ad11671db: Add comment.
|
Committer | Boris Goldowsky |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
3
|
Skipped |
0
|
Passing |
111
|
View all changes introduced in this branch ↗︎ |
Take more care with undefined vs. falsy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just needs a comment on one line.
As noted in PT-188129121 , a bar graph created with the "Bar Graph It!" button from a table did not have its history recorded in a way that could play back without errors. In fact this was failing for other tiles (data cards, graph) created with shared models pre-attached; changes made in response to the shared model were recorded in history before the creation of the tile, and thus would fail on replay.
This PR is more careful about the order in which these events are recorded in history. In addition, some deeper issues with the Data Card tile are addressed so that undo, redo, and history playback should now work for the "Data Card It!" case.